<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Swim 2.0</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>


<div id="container">
<div id="masthead" class="navBG">
	<%@ include file="log.jsp" %>
</div>
	<div id="left_col" class="navBG">
		<%@ include file="menu.jsp" %>
	</div>
	<div id="page_content">
<% String rqID = (String) request.getAttribute("rqID");
	if(rqID!=null){%>	
	<div class="heading">
	Invio Feedback</div>
	<form action="FeedbackServlet?act=sendFeedback&rqID=<%= rqID %>" method="post">
	<table>
		<tr>
			<td class="cellField">Punteggio :</td>
			<td>
				<select name="score">
					<option value="0">0</option>
					<option value="1">1</option>
					<option value="2">2</option>
					<option value="3">3</option>
					<option value="4">4</option>
					<option value="5" selected="selected">5</option>
					<option value="6">6</option>
					<option value="7">7</option>
					<option value="8">8</option>
					<option value="9">9</option>
					<option value="10">10</option>			
				</select>			
			</td>
		</tr>
		<tr>
			<td class="cellField">Commento :</td>
			<td><input name="comment" type="text" size="30"/>&nbsp;</td>
		</tr>
		<tr>
			<td class="formButton">
			<input name="submitFeedback" type="submit" value="Invia" />&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
	</table>
	</form>
<% if(request.getAttribute("error")!=null){%>
	<div class="error"> Errore: il punteggio deve essere un intero compreso tra 0 a 10 !</div>
<% }} %>	
	</div>
	<div id="footer" class="navBG">
	<p> Aliprandi-Belladelli </p>
	</div>
</div>
</body>
</html>